package org.docmanagement.services;

import java.util.List;

import org.docmanagement.commons.service.GenericService;
import org.docmanagement.data.TodoItem;

public interface TodoService extends GenericService<TodoItem>
{
    /**
     * Looks up todo items by category.
	 * @param id the ID for the element
	 * @return Element
	 */
    public List<TodoItem> findByCategory(String id) throws TodoException;
    /**
     * Looks up todo items without categories.
	 * @param id the ID for the element
	 * @return Element
	 */
    public List<TodoItem> findWithNoCategory() throws TodoException;

    public List<String> getCategoryList() throws TodoException;
}
